package com.rdgzs.jkmj.web.login;



import java.util.List;

import javax.annotation.Resource;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.rdgzs.authority.entity.User;
import com.rdgzs.authority.service.UserService;


/**
* ###################################################
* @创建日期：2014-3-3 12:56:49
* @开发人员：李广彬
* @功能描述：
* @修改日志：1.protected 级别的方法为没有使用的方法
* ###################################################
*/
// /cmtdlrm/security-user!search.jspa
// /cmtdlrm/security-user!save.jspa
// /cmtdlrm/security-user!delete.jspa
// /cmtdlrm/security-user!list.jspa
// /cmtdlrm/security-user!edit.jspa
// /cmtdlrm/security-user!preview.jspa
@Controller
public class LoginBizController{
	private static final Log logger = LogFactory.getLog(LoginBizController.class);
	private User vo=new User();
	private List<User> voList;
	private String startTime;//发布开始时间
    private String endTime;//发布结束时间
    private UserService userService;

	
 // ========================= 操              作   ===========================
 
  	/**
	* @创建日期：2014-3-3 12:56:49
	* @开发人员：李广彬
	* @功能描述：转向初始化的列表页
	* @传入参数：
	*/
	 @RequestMapping("/main.html")
    public String list() throws Exception {
		 vo=userService.get("23");
        return "login/main";
    }
    
    
 // ========================= get/set   ===========================

    public String getStartTime() {
        return startTime;
    }
    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }
    public String getEndTime() {
        return endTime;
    }
    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }
    
    @Resource
	public void setUserService(UserService userService) {
		this.userService = userService;
	}


}